:root {
  --border-color: #e3e5e4;
  --background-color: #c3c7ca;
  --text-color: #34444f;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  margin: 0;
  padding-bottom: 22px;
  font-family: 'Lato', sans-serif;
  background-color: #fff;
}

.draggable-list {
  list-style-type: none;
  padding: 0;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.draggable-list li {
  background-color: #fff;
}

.draggable-list li:not(:last-of-type) {
  border-bottom: 1px solid var(--border-color);
}

.draggable-list li.over .draggable {
  background-color: #eaeaea;
}

.draggable-list li.right .person-name {
  color: #3ae374;
}

.draggable-list li.wrong .person-name {
  color: #ff3838;
}

.draggable {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 300px;
  transition: all 1s;
}

.draggable .number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--background-color);
  font-size: 28px;
}

.draggable .info {
  flex: 1;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
}

.btn {
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  background-color: var(--background-color);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus {
  outline: none;
}
